{{Extend "base"}}
{{Block "description"}}{{"Nging管理面板登录"|$.T}}{{/Block}}
{{Block "title"}}{{"Nging管理面板登录"|$.T}}{{/Block}}
{{Block "themeColor"}}#26262E{{/Block}}
{{Block "bodyAttr"}} class="texture"{{/Block}}
{{Block "main"}}
<div id="cl-wrapper" class="login-container">
	<div class="middle-login">
		<div class="block-flat">
			<div class="header">							
				<h3 class="text-center"><img class="logo-img" src="{{AssetsURL}}/images/logo.png" alt="logo"/>{{"两步验证"|$.T}}</h3>
			</div> 
			<div>
				<form class="form-horizontal" action="" method="POST">
					<div class="content">
						<div class="form-group">
							<div class="col-sm-12">
								<div class="input-group">
									<span class="input-group-addon"><i class="fa fa-user"></i></span>
									<input type="text" placeholder="{{`验证码`|$.T}}" value="{{$.Form `code`}}" name="code" required="required" class="form-control" autofocus="autofocus">
								</div>
                                <div class="help-block">{{"请输入身份验证器上显示的验证码"|$.T}}</div>
							</div>
						</div>
					</div>
					<div class="foot">
						<input type="hidden" name="next" value="{{$.Form `next`}}">
						<a class="btn btn-default" href="{{BackendURL}}/logout">{{"退出"|$.T}}</a>
						<button class="btn btn-primary" data-dismiss="modal" type="submit">{{"验证"|$.T}}</button>
					</div>
				</form>
			</div>
		</div>
		<div class="text-center out-links">
			<a href="{{OfficialHomepage}}" target="_blank">&copy; {{Now.Year}} Nging</a>
		</div>
	</div> 
	
</div>
{{/Block}}
{{Block "footer"}}
<script type="text/javascript" src="{{AssetsURL}}/js/behaviour/sprintf.min.js"></script>
<script type="text/javascript" src="{{AssetsURL}}/js/behaviour/general.min.js"></script>
<script type="text/javascript" src="{{AssetsURL}}/js/jquery.gritter/js/jquery.gritter.min.js"></script>
{{/Block}}
